package ast;

import java.util.ArrayList;
import java.util.List;

public class Body implements Node {

	private List<Expression> expressions = new ArrayList<>();
	private List<Definition> definitions = new ArrayList<>();

	public List<Definition> getDefinitions() {
		return definitions;
	}

	public List<Expression> getExpressions() {
		return expressions;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitBody(this);
	}

}
